#ifndef	__CONTROLLER_H
#define	__CONTROLLER_H
#include "oled.h"
#include "Config.h"
#include "GPIO.h"
#include "RTX51TNY.H"
#include "UART.h"
#include "Switch.h"
#include "NVIC.h"
#include "Key.h"
#include <stdlib.h>
#include "EEPROM.h"
#include <string.h>
#include <stdio.h>
#include "Oper.h"
#include "PCF8563.h"
#include "Screen_Mnue.h"
#include "Motor.h"
void sys_init(void);
void On_key1Up();
void On_key1Down();
void On_key2Up();
void On_key2Down();
void Rand_Cactus();
void Control_Jump();
void EEPROM_INIT();
void  Save_ScoreAndPass(unsigned int score);
void Manue();
void Set_time();
void Show_Comiss();
void Set_Comiss();
unsigned int Get_HScore();
void Get_PassDate(u8 *passdate);

extern char comiss;
extern u8 SetComissDate;
extern u8 setcomdate;
#endif